﻿using System.ComponentModel.DataAnnotations;

namespace Dyao.Book.Contract
{
    /// <summary>
    /// 任务中心参数
    /// </summary>
    public class TaskCenterCreateDto
    {
        /// <summary>
        /// TaskSettingId
        /// </summary>
        [Required(ErrorMessage = "TaskCode不能为空")]
        public string TaskCode { get; set; }

        /// <summary>
        /// 分类
        /// </summary>
        public virtual TaskCenterCategoryEnum? Category { get; set; }

        /// <summary>
        /// 菜单
        /// </summary>
        public string MenuPath { get; set; }

        /// <summary>
        /// 请求参数
        /// </summary>
        public string Params { get; set; }
    }
}
